package auth.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

import auth.service.impl.ShopServiceFeignClientFallback;
import common.model.result.Result;

@Service
@FeignClient(name = "shop-server", fallback = ShopServiceFeignClientFallback.class)
public interface ShopServiceFeignClient {
    //获取所有商铺列表
    @GetMapping("/shop/jiang/list")
    public Result getAllShop();

}
